import request from '@/utils/request'
export const getceliangapi = () => request.get('/core/dictionary/combo-item/list?dictType=EventSort')
export const getfenzuapi = () => request.get('/core/dictionary/combo-item/list?dictType=TypeFilter')
export const getlistapi = params => request.get('/core/iot/config/event-type/list', { params })
export const getyanzhongapi = () => request.get('/core/dictionary/combo-item/list?dictType=EventLevel')
export const postshijianapi = data => request.post('/core/iot/config/event-type', { ...data, isParams: true })
export const putshijianapi = data => request.post('/core/iot/config/event-type/put', { ...data, isParams: true })
export const delshijianapi = data => request.post('/core/iot/config/event-type/delete', { ...data, isParams: true })
